﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AutoChess
{
    public interface IVisualData <D,R> where R : IVisualRenderer<D, R> where D : IVisualData<D, R>
    {
        /// <summary>添加一个渲染器 </summary>
        /// <param name="renderer"></param>
        void ConnectRenderer(R renderer);
        /// <summary> 回收一个渲染器 </summary>
        void DisconnectRenderer();
    }
}